//
import { createStore } from "redux";
import countReducer from "./reducers/countreducer";

//关联countReducer
const store = createStore(countReducer) //创建包含指定reducer的store对象

export default store //暴露store对象